<%@ page pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <title>Création d'un appel d'offre</title>
        <link type="text/css" rel="stylesheet" href="<c:url value="/inc/style.css"/>" />
    </head>
    <body>
    
    	<c:import url="/inc/menu.jsp" />
    	
        <c:import url="/admin/inc/menu.jsp" />
        <div>
            <form method="post" action="<c:url value="/admin/creationAppelOffre"/>">
               <fieldset>
                    <legend>Informations</legend>
                    <label for="ref">Référence <span class="requis">*</span></label>
					<input type="text" id="ref" name="ref" value="<c:out value="${ appelOffre.get_ref() }"/>" size="30" maxlength="30" />
					<span class="erreur">${form.erreurs['ref']}</span>
					<br />
					
					<label for="description">Description <span class="requis">*</span></label>
					<textarea rows="4" cols="50" id="description" name="description"><c:out value="${ appelOffre.get_description() }"/></textarea>
					<span class="erreur">${form.erreurs['description']}</span>
					<br />
                </fieldset>
                <p class="info">${ form.resultat }</p>
                <input type="submit" value="Valider"  />
                <input type="reset" value="Remettre à zéro" /> <br />
            </form>
        </div>
    </body>
</html>
